﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FormCLiente.aspx.cs" Inherits="CapaPresentacion.InsertarCLiente" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 183px;
        }
        .style2
        {
            width: 121px;
        }
        .style3
        {
            width: 116px;
        }
        .style4
        {
            width: 87px;
        }
        .style5
        {
            width: 139px;
        }
    </style>
</head>
<body>
     <form id="form1" runat="server">
    <div>
    
       
        <center style="height: 636px">
            MANTENIMIENTOS DE&nbsp; CLIENTES<br />
            <br />
            <br />
            <br />
            
            <table style="width: 72%; height: 64px;">
                <tr>
                    <td class="style7">
                        INSERTAR
                        CLIENTES</td>
                </tr>
            </table>
            <table style="width: 61%; height: 11px;">
            </table>
    
    <asp:Panel ID="Panel1" runat="server" Height="265px" Width="692px">
    <table style="width:100%; height: 262px;">
                    <tr>
                        <td class="style4">
                            Cliente</td>
                        <td class="style5">
                            <asp:TextBox ID="txtIdProducto" runat="server" Width="184px" Height="21px"></asp:TextBox>
                        </td>
                        <td class="style2">
                            &nbsp;</td>
                        <td class="style3">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            <asp:Label ID="Label2" runat="server" Text="Nombre:"></asp:Label>
                        </td>
                        <td class="style5">
                            <asp:TextBox ID="txtNombre" runat="server" Width="185px"></asp:TextBox>
                        </td>
                        <td class="style2">
                            &nbsp;</td>
                        <td class="style3">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            Apellido</td>
                        <td class="style5">
                            <asp:TextBox ID="txtDescripcion" runat="server" Width="184px"></asp:TextBox>
                        </td>
                        <td class="style2">
                            &nbsp;</td>
                        <td class="style3">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            Diereccion</td>
                        <td class="style5">
                            <asp:TextBox ID="txtPrecio" runat="server" style="margin-right: 6px" 
                                Width="178px"></asp:TextBox>
                        </td>
                        <td class="style2">
                            </td>
                        <td class="style3">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            Telefono</td>
                        <td class="style5">
                            <asp:TextBox ID="txtStock" runat="server" Width="174px"></asp:TextBox>
                        </td>
                        <td class="style2">
                            &nbsp;</td>
                        <td class="style3">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            Dni</td>
                        <td class="style5">
                            <asp:TextBox ID="txtFoto" runat="server" Width="171px"></asp:TextBox>
                        </td>
                        <td class="style2">
                            &nbsp;</td>
                        <td class="style3">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            Email</td>
                        <td class="style5">
                            <asp:TextBox ID="TextBox1" runat="server" Width="173px"></asp:TextBox>
                        </td>
                        <td class="style2">
                            &nbsp;</td>
                        <td class="style3">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            Usuario</td>
                        <td class="style5">
                            <asp:TextBox ID="TextBox2" runat="server" Width="171px"></asp:TextBox>
                        </td>
                        <td class="style2">
                            &nbsp;</td>
                        <td class="style3">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            Clave</td>
                        <td class="style5">
                            <asp:TextBox ID="TextBox3" runat="server" Width="176px"></asp:TextBox>
                        </td>
                        <td class="style2">
                            &nbsp;</td>
                        <td class="style3">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            <asp:Button ID="btnNuevo" runat="server" Text="Nuevo" Width="90px" />
                        </td>
                        <td class="style5">
                            <asp:Button ID="btnGrabar" runat="server" Text="Grabar" Width="90px" />
                        </td>
                        <td class="style2">
                            <asp:Button ID="btnBuscar" runat="server" Text="Buscar" Width="90px" />
                        </td>
                        <td class="style3">
                            <asp:Button ID="Button1" runat="server" Text="Eliminar"  Width="90px" />
                        </td>
                    </tr>
                </table>

              <center>
                     LISTAR CLIENTES<br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            Height="187px" Width="327px" CellPadding="4" ForeColor="#333333" 
                GridLines="None" style="margin-top: 0px">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:BoundField DataField="IDcliente" HeaderText="Cliente" />
                <asp:BoundField DataField="Nombre" HeaderText="Nombre" />
                <asp:BoundField DataField="Apellido" HeaderText="Apellido" />
                <asp:BoundField DataField="Direccion" HeaderText="Direccion" />
                <asp:BoundField DataField="Telefono" HeaderText="Telefono" />
                <asp:BoundField DataField="DNI" HeaderText="DNI" />
                <asp:BoundField DataField="E-mail" HeaderText="E-mail" />
                <asp:BoundField DataField="IDUsuario" HeaderText="Usuario" />
                <asp:BoundField DataField="Clave" HeaderText="Clave" />
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
            </asp:Panel>
      </center>
    </div>
    </form>
</body>
</html>